import { Project } from './project'
import { User } from './user'
import { Day } from './day'
import { Stage } from './stage'
import { Milestone } from "./milestone"
import { Daily } from "./daily"

export class Task {
  id: string
  project_id: string
  project: Project
  stage_id: string
  stage: Stage
  name: string
  desc: string
  receiver_id: string
  receiver: User
  processing: boolean
  done: boolean
  s_date: string
  e_date: string
  hours: number
  ot_hours: number
  day_hours: number
  dailys: Array<Daily>
  work_days: number
  used_days: number
  remain_days: number
  created_by: User
  created_at: Date
  modified_by: User;
  modified_at: Date
  s_width: number
  e_width: number
  s_e_width: number
  avg: any
  milestones: Array<Milestone>
  days: Array<Day>
  daily: Daily
  state: string
}
